package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.AdUserDTO;
import com.heima.model.admin.pojos.AdUser;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @Author XHui
 * @Since 2024/2/4 12:37
 * @Version 1.0
 */
public interface AdUserService extends IService<AdUser> {

    /**
     * 登录功能
     * @param dto
     * @return data{token: , user: 用户信息}
     */
    ResponseResult login(AdUserDTO dto);
}
